﻿using System.Windows.Forms;

namespace Settings.Forms
{
    public static class HtmlExtentions
    {
        private const string AttrNull = "False";

        public static bool HasAttribute(this HtmlElement element, string attributeName)
        {
            return element.GetAttribute(attributeName) != AttrNull;
        }
    }
}